<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表单学习</title>
</head>

<body>

    <div id="denglukuang">
        <div class="login-form">
            <input type="text" id="username" placeholder="用户名" required>
            <input type="password" id="passinput" placeholder="密码" required>
            <label><input type="checkbox"> 记住我</label>
            <a href="#">忘记密码?</a>
            <div class="button-container">
                <button type="submit" onclick="login()">登录</button>
                <button type="button">注册</button>
            </div>
            <div id="result">
            </div>
        </div>
    </div>
</body>


<script src="./js/script.js"></script>

</html>